package com.order.domain.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderReviewPageVo {
    // 综合评分
    private Integer score;
    // 好评率
    private String goodRate;
    // 累计评价
    private Integer totalCount;

    private List<OrderReviewPageDetailVo> details;

    @Data
    public static class OrderReviewPageDetailVo {
        private String userName;
        private String userAvatar;
        private BigDecimal rating;
        private String content;
        private List<String> previews;
        private String createTime;
        private String version;
        private String ipAddress;
        private String deviceInfo;
    }
}
